<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta name="viewport" content="width=device-width" />
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="icon" href="/favicon.ico">

    <title>JS插件展示页面|力软信息|快速开发平台|LeaRun敏捷开发框架</title>
    <link href="/Content/pace/pace-theme-minimal.css" rel="stylesheet" />
    <link href="/Content/font/css/font-awesome.min.css" rel="stylesheet" />
    <link href="/Content/bootstrap/bootstrap.min.css" rel="stylesheet" />
    <link href="/Content/jquery/plugin/scrollbar/jquery.mCustomScrollbar.min.css" rel="stylesheet" />
    <link href="/Content/jquery/plugin/jfGrid/jfgrid.css" rel="stylesheet" />

    <style>html{width:100%;height:100%}body{margin:0;padding:0;width:100%;height:100%;font-family:微软雅黑,宋体,Arial,Helvetica,Verdana,sans-serif;color:#000;font-size:12px;background-color:initial;overflow:hidden}ul,li{list-style:none;margin:0;padding:0}a{color:#000;text-decoration:none}a:hover{color:#000;text-decoration:none}a:focus{outline:0;-moz-outline:0;color:#000;text-decoration:none}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#fff;opacity:1}.btn-primary{color:#fff;background-color:#039cfd;border-color:#039cfd}.btn-primary:hover{color:#fff;background-color:#027dcb;border-color:#0277c1}.btn-primary:focus,.btn-primary.focus{color:#fff;background-color:#027dcb;border-color:#0277c1}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{color:#fff;background-color:#027dcb;border-color:#0277c1;background-image:none}.btn-primary:active:hover,.btn-primary:active:focus,.btn-primary:active.focus,.btn-primary.active:hover,.btn-primary.active:focus,.btn-primary.active.focus,.open>.btn-primary.dropdown-toggle:hover,.open>.btn-primary.dropdown-toggle:focus,.open>.btn-primary.dropdown-toggle.focus{color:#fff;background-color:#0167a8;border-color:#014e7f}.btn-primary.disabled:focus,.btn-primary.disabled.focus,.btn-primary:disabled:focus,.btn-primary:disabled.focus{background-color:#039cfd;border-color:#039cfd}.btn-primary.disabled:hover,.btn-primary:disabled:hover{background-color:#039cfd;border-color:#039cfd}.btn-default{color:#373a3c;background-color:#fff;border-color:#ccc}.btn-default:hover{color:#373a3c;background-color:#e6e6e6;border-color:#adadad}.btn-default:focus,.btn-default.focus{color:#373a3c;background-color:#e6e6e6;border-color:#adadad}.btn-default:active,.btn-default.active,.open>.btn-default.dropdown-toggle{color:#373a3c;background-color:#e6e6e6;border-color:#adadad;background-image:none}.btn-default:active:hover,.btn-default:active:focus,.btn-default:active.focus,.btn-default.active:hover,.btn-default.active:focus,.btn-default.active.focus,.open>.btn-default.dropdown-toggle:hover,.open>.btn-default.dropdown-toggle:focus,.open>.btn-default.dropdown-toggle.focus{color:#373a3c;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.disabled:focus,.btn-default.disabled.focus,.btn-default:disabled:focus,.btn-default:disabled.focus{background-color:#fff;border-color:#ccc}.btn-default.disabled:hover,.btn-default:disabled:hover{background-color:#fff;border-color:#ccc}.btn-success{color:#fff;background-color:#1bb99a;border-color:#1bb99a}.btn-success:hover{color:#fff;background-color:#158c75;border-color:#13846e}.btn-success:focus,.btn-success.focus{color:#fff;background-color:#158c75;border-color:#13846e}.btn-success:active,.btn-success.active,.open>.btn-success.dropdown-toggle{color:#fff;background-color:#158c75;border-color:#13846e;background-image:none}.btn-success:active:hover,.btn-success:active:focus,.btn-success:active.focus,.btn-success.active:hover,.btn-success.active:focus,.btn-success.active.focus,.open>.btn-success.dropdown-toggle:hover,.open>.btn-success.dropdown-toggle:focus,.open>.btn-success.dropdown-toggle.focus{color:#fff;background-color:#106d5b;border-color:#0b4a3d}.btn-success.disabled:focus,.btn-success.disabled.focus,.btn-success:disabled:focus,.btn-success:disabled.focus{background-color:#1bb99a;border-color:#1bb99a}.btn-success.disabled:hover,.btn-success:disabled:hover{background-color:#1bb99a;border-color:#1bb99a}.btn-warning{color:#fff;background-color:#f1b53d;border-color:#f1b53d}.btn-warning:hover{color:#fff;background-color:#eaa211;border-color:#e19b10}.btn-warning:focus,.btn-warning.focus{color:#fff;background-color:#eaa211;border-color:#e19b10}.btn-warning:active,.btn-warning.active,.open>.btn-warning.dropdown-toggle{color:#fff;background-color:#eaa211;border-color:#e19b10;background-image:none}.btn-warning:active:hover,.btn-warning:active:focus,.btn-warning:active.focus,.btn-warning.active:hover,.btn-warning.active:focus,.btn-warning.active.focus,.open>.btn-warning.dropdown-toggle:hover,.open>.btn-warning.dropdown-toggle:focus,.open>.btn-warning.dropdown-toggle.focus{color:#fff;background-color:#c98b0e;border-color:#a3700c}.btn-warning.disabled:focus,.btn-warning.disabled.focus,.btn-warning:disabled:focus,.btn-warning:disabled.focus{background-color:#f1b53d;border-color:#f1b53d}.btn-warning.disabled:hover,.btn-warning:disabled:hover{background-color:#f1b53d;border-color:#f1b53d}.btn-danger{color:#fff;background-color:#ff5d48;border-color:#ff5d48}.btn-danger:hover{color:#fff;background-color:#ff3015;border-color:#ff270b}.btn-danger:focus,.btn-danger.focus{color:#fff;background-color:#ff3015;border-color:#ff270b}.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{color:#fff;background-color:#ff3015;border-color:#ff270b;background-image:none}.btn-danger:active:hover,.btn-danger:active:focus,.btn-danger:active.focus,.btn-danger.active:hover,.btn-danger.active:focus,.btn-danger.active.focus,.open>.btn-danger.dropdown-toggle:hover,.open>.btn-danger.dropdown-toggle:focus,.open>.btn-danger.dropdown-toggle.focus{color:#fff;background-color:#f01c00;border-color:#c81700}.btn-danger.disabled:focus,.btn-danger.disabled.focus,.btn-danger:disabled:focus,.btn-danger:disabled.focus{background-color:#ff5d48;border-color:#ff5d48}.btn-danger.disabled:hover,.btn-danger:disabled:hover{background-color:#ff5d48;border-color:#ff5d48}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{padding:0}.form-control{color:#000;border-radius:0;box-shadow:none;font-size:9pt;height:28px;padding-top:0;padding-bottom:1px;padding-right:0;padding-left:5px;resize:none}.form-control:focus{border-color:#039cfd;box-shadow:none}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}.dropdown-menu a{cursor:pointer}.mCSB_inside>.mCSB_container{margin-right:0}.mCSB_container{min-height:100%}.mCS-minimal-dark.mCSB_scrollTools_vertical{width:10px}.mCSB_container_wrapper>.mCSB_container{padding-right:0;padding-bottom:0}.lr-layout{position:relative;height:100%;width:100%;padding:5px}.lr-layout.lr-layout-left-center{padding-left:203px}.lr-layout-left{position:absolute;top:0;left:0;width:203px;height:100%;padding:10px 0 10px 10px}.lr-layout-center{position:relative;width:100%;height:100%;padding:5px}.lr-layout-wrap{position:relative;width:100%;height:100%;background-color:#fff;border:1px solid #ccc;padding-top:32px;border-radius:3px;-webkit-transition:opacity .25s ease-out;-moz-transition:opacity .25s ease-out;transition:opacity .25s ease-out;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.lr-layout-center .lr-layout-wrap{padding-top:87px}.lr-layout-center .lr-layout-wrap.lr-layout-wrap-notitle{padding-top:55px}.lr-layout-left .lr-layout-wrap.lr-layout-wrap-notitle{padding-top:0}.lr-layout-title{position:absolute;top:0;left:0;height:32px;line-height:32px;width:100%;border-bottom:1px solid #ccc;color:#666;text-overflow:ellipsis;white-space:nowrap;font-weight:bold;padding-left:9px;font-size:12px;-moz-user-select:text;-webkit-user-select:text;-ms-user-select:text;-khtml-user-select:text;user-select:text}.lr-layout-tool{position:absolute;top:32px;left:0;width:100%;height:55px;border-bottom:1px solid #ccc;z-index:3}.lr-layout-center .lr-layout-wrap.lr-layout-wrap-notitle .lr-layout-tool{top:0}.lr-layout-tool-left{position:absolute;left:10px;top:0;height:100%}.lr-layout-tool-left .lr-layout-tool-item{position:relative;float:left;padding-top:13px;padding-left:5px}.lr-layout-tool-right{position:absolute;right:15px;top:0;height:100%;padding-top:12px}.lr-layout-body{position:relative;width:100%;height:100%}.lr-layout-move{position:absolute;top:0;z-index:1}.lr-layout-move-right{right:-8px;width:8px;height:100%;cursor:col-resize}.lr-tree{overflow-y:auto}.lr-tree ul,.lr-tree li{list-style-type:none;margin:0;padding:0}.lr-tree-icon,.lr-tree-ec-icon,.lr-tree-node-cb,.lr-tree-node-icon{border:0 none;height:18px;margin:0;padding:0;margin-top:3px;vertical-align:top;width:16px;background-repeat:no-repeat}.lr-tree-node-cb{height:16px;padding:2px;margin-top:4.5px;margin-right:5px}ul.lr-tree-node-ct{line-height:0;zoom:1}.lr-tree-node-expanded>.lr-tree-ec-icon{background-image:url(/Content/images/learuntree/arrows.gif)!important;background:transparent no-repeat -16px 0}.lr-tree-node-expanded>.lr-tree-ec-icon:hover{background:transparent no-repeat -48px 0}.lr-tree-node-collapsed>.lr-tree-ec-icon{background-image:url(/Content/images/learuntree/arrows.gif)!important;background:transparent no-repeat 0 0}.lr-tree-node-collapsed>.lr-tree-ec-icon:hover{background:transparent no-repeat -32px 0}.lr-tree-node{white-space:nowrap;color:#000}.lr-tree-node{color:#000}.lr-tree-node i{font-size:13px;width:13px;color:#666}.lr-tree-node a{text-decoration:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-khtml-user-select:none;user-select:none;-kthml-user-focus:normal;-moz-user-focus:normal;-moz-outline:0 none;outline:0 none}.lr-tree-node a span{text-decoration:none;padding:1px 3px 1px 2px}.lr-tree-node a:hover{text-decoration:none}.lr-tree-node .lr-tree-selected{background-color:#3498DB!important;color:#fff}.lr-tree-node .lr-tree-selected a span{color:#fff}.lr-tree-node .lr-tree-selected i{color:#fff}.lr-tree-node-el{position:relative;line-height:25px;cursor:default;cursor:pointer}.lr-tree-node-el:hover{background-color:#eee}.lr-tree-loading{position:absolute;top:3px;right:5px;display:none}.lr-tree-loading>img{height:14px;width:14px}.lr-select{position:relative;cursor:pointer;width:100%;height:28px;line-height:26px;border:1px solid #ccc;background:#fff url(/Content/images/learunselect/icon.png) no-repeat right center;padding-left:4px}.lr-select.lr-select-focus{border:1px solid #039cfd}.lr-select-placeholder{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-khtml-user-select:none;user-select:none;color:#999;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.lr-select-option{position:absolute;border:1px solid #dedede;width:100%;background:#fff;z-index:1;top:28px;left:-1px}.lr-select-option-content{position:relative;width:100%;overflow:auto}.lr-select-option .lr-selectitem-li{min-height:26px;line-height:26px;overflow:hidden;cursor:pointer;padding:0 5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.lr-select-option .lr-selectitem-li:hover{background-color:#eee}.lr-selectitem-li.selected{background-color:#3498DB!important;color:#fff}.lr-select-option-search{border-top:1px solid #ccc;position:absolute;border-bottom:0;left:0;height:25px;width:100%;line-height:24px}.lr-select-option-search>input{color:#000;border-radius:0;border:0;box-shadow:none;font-size:9pt;height:28px;padding-top:0;padding-bottom:1px;padding-right:0;padding-left:5px;resize:none;background-color:#fff;background-image:none;height:24px;line-height:1.42857143;margin:0;-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;width:100%;outline:0;padding:0;padding-left:10px}.lr-select-option-search .input-query{position:absolute;right:4px;top:0;color:#ccc;font-size:16px;cursor:default}.lr-select-node-cb{border:0 none;margin:0;vertical-align:top;width:16px;height:16px;background-repeat:no-repeat;padding:2px;margin-top:4.5px;margin-right:5px}.lr-formselect{position:relative;width:100%;height:28px;line-height:26px;border:1px solid #ccc;padding-left:4px;cursor:pointer;color:#999}.lr-formselect.selected{color:#000}.lr-formselect>i{position:absolute;top:8px;right:2px;font-size:12px;color:#666}.clear-btn{position:absolute;top:0;right:0;height:100%;width:40px;background-color:#ccc;text-align:center;display:none}.clear-btn:hover{color:#666}.lr-formselect:hover>i{display:none}.lr-formselect:hover .clear-btn{display:block}.lrUploader-wrap{position:relative;height:30px;width:100%;padding-right:118px}.lrUploader-input{position:relative;height:100%;line-height:28px;width:100%;border:1px solid #ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:10px}.lrUploader-btn-group{position:absolute;top:0;right:0}.lrUploader-input-btn{padding:4px 12px;margin-left:5px}body{background-color:initial!important}.lr-layout-tool-left .lr-layout-tool-item>.form-control{border-radius:4px;display:inline-block;width:200px}.lr-layout-tool-left .btn{position:relative;display:inline-block;height:28px;margin-bottom:1px;line-height:14px}.lr-left-list>li{position:relative;width:100%;height:34px;line-height:34px;margin-bottom:10px;padding-left:20px;cursor:pointer;border-left:3px solid #fff}.lr-left-list>li:hover{background-color:#F5F5F5;border-left:3px solid #F5F5F5}.lr-left-list>li.active{background-color:#F5F5F5;border-left:3px solid #2C3849}.lr-query-wrap{position:relative;width:90px;height:28px}.lr-query-btn{position:relative;width:100%;height:100%;line-height:26px;cursor:pointer;border:1px solid #ccc;border-radius:4px;text-align:center;color:#fff;background-color:#039cfd;border-color:#039cfd}.lr-query-btn:hover{background-color:#027dcb;border-color:#0277c1}.lr-query-content{position:absolute;top:30px;left:0;z-index:10;padding:10px 10px 10px 0;background:#fff;box-shadow:0 0 2px 2px rgba(0,0,0,.15);border-radius:3px;height:300px;width:400px;display:none}.lr-query-content.active{display:block}.lr-query-formcontent{display:none}.lr-query-arrow{position:absolute;top:-16px;left:30px;border-width:8px;border-style:solid;border-color:transparent transparent #d6e1ee}.lr-query-inside{position:absolute;top:-6px;left:-7px;border-width:7px;border-style:solid;border-color:transparent transparent #fff}.lr-query-content-bottom{position:absolute;right:10px;bottom:10px;height:30px}.lr-query-content-bottom .btn{margin-left:10px}.lr-form-item{position:relative;min-height:38px;padding:5px 0 5px 80px}.lr-form-item-title{position:absolute;top:0;left:0;width:80px;height:100%;line-height:38px;text-align:right;padding-right:10px}.lr-form-item-title>font{position:absolute;top:0;right:2px;color:red}.lr-form-item .checkbox,.lr-form-item .radio{moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-khtml-user-select:none;user-select:none;margin-top:6px;margin-bottom:initial}.lr-form-item .checkbox input[type=checkbox],.lr-form-item .radio input[type=radio]{margin-top:3px;margin-left:-15px}.learun-AdminAccordion .lr-layout-container{border:0;border-radius:0}.learun-AdminAccordion .lr-panel-title{border-bottom:1px solid #dae6f2}.learun-AdminAccordion .lr-panel-tool{border-bottom:2px solid #00aaef}.learun-AdminAccordion .btn-default{border-color:#cfdae5;color:#5f6b7e}[learun-authorize="yes"]{display:none}</style>
    <style>.lr-layout-center .lr-layout-wrap{padding-top:32px}.showarea-list{position:relative;height:100%;width:100%}.showarea-list-item{position:relative;height:100%;width:100%;display:none;padding-top:40px}.showarea-list-item.active{display:block}.lr-nav-tabs{position:absolute;top:0;height:40px;width:100%;border-bottom:1px solid #eee}.nav-tabs.lr-nav-tabs>li>a{margin-right:0;border-radius:0;border:0;padding:11px 15px}.nav-tabs.lr-nav-tabs>li>a:hover{border-bottom-color:transparent}.nav-tabs.lr-nav-tabs>li.active>a,.nav-tabs.lr-nav-tabs>li.active>a:focus,.nav-tabs.lr-nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:0;border-bottom:2px solid #3498DB}.lr-tab-content{position:relative;height:100%;width:100%}.lr-tab-content .tab-pane{position:relative;height:100%;width:100%}.lr-tab-scroll-content{position:relative;height:100%;width:100%;padding:10px;overflow:auto}.lr-tab-content .tab-pane .alert{margin-bottom:0}.lr-portal-panel-title{padding-top:10px;line-height:30px;border-bottom:1px solid #ccc;color:#666;font-weight:300;font-size:16px}.lr-portal-panel-content{position:relative;width:100%}.lr-portal-panel-content-right{position:relative;width:200px}.jfgrid-layout{border:1px solid #ccc;height:500px}</style>
    <!--[if lt IE 9]>
    <script src="~/Content/bootstrap/html5shiv.min.js"></script>
    <script src="~/Content/bootstrap/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="lr-layout lr-layout-left-center" id="lr_layout">
    <div class="lr-layout-left">
        <div class="lr-layout-wrap">
            <div class="lr-layout-title">插件列表</div>
            <div id="plugin_list" class="lr-panel-content"></div>
        </div>
    </div>
    <div class="lr-layout-center">
        <div class="lr-layout-wrap">
            <div class="lr-layout-title">
                演示区域 - <span id="title_info">未选择插件</span>
            </div>
            <div class="showarea-list">
                <div class="showarea-list-item active" style="padding-top:0px;">
                    <div class="lr-tab-scroll-content">
                        <div class="alert alert-warning" role="alert">
                            <p>1.此页面展示一些敏捷框架所使用的部分前端插件!</p>
                            <p>2.所有插件都是支持主流浏览器的（IE8+、Chrome、Firefox、360浏览器等）!</p>
                            <p>3.选用的都是一些轻量,开源的插件,方便后续的扩展!</p>
                        </div>
                        <div class="lr-portal-panel-title">
                            <i class="fa fa-tags"></i>&nbsp;&nbsp;框架所使用的一些前端组件列表
                        </div>
                        <div class="lr-portal-panel-content" style="padding-top:10px;">
                            <p>1.JS框架：jquery-1.10.2（考虑到兼容低版本浏览器）、Bootstrap.js</p>
                            <p>2.CSS框架：Bootstrap v3.3.4</p>
                            <p>3.在线编辑器：ckeditor、simditor</p>
                            <p>4.上传文件：WebUploader</p>
                            <p>5.数据表格：JFGrid</p>
                            <p>6.对话框：layer.js</p>
                            <p>7.下拉选择框：learunselect</p>
                            <p>8.树结构控件：learuntree</p>
                            <p>9.图表插件：Echarts</p>
                            <p>10.日期控件： My97DatePicker</p>
                        </div>
                    </div>
                </div>
                <div id="learun_tree_area" class="showarea-list-item">
                    <ul class="nav nav-tabs lr-nav-tabs" role="tablist">
                        <li role="presentation" class="active"><a href="#tree_base" aria-controls="home" role="tab" data-toggle="tab">基础信息</a></li>
                        <li role="presentation"><a href="#tree_ajax" aria-controls="profile" role="tab" data-toggle="tab">获取后端数据</a></li>
                        <li role="presentation"><a href="#tree_checkbox" aria-controls="settings" role="tab" data-toggle="tab">复选框</a></li>
                    </ul>
                    <!-- Tab panes -->
                    <div class="tab-content lr-tab-content">
                        <div role="tabpanel" class="tab-pane active" id="tree_base">
                            <div class="lr-tab-scroll-content">
                                <div class="alert alert-warning" role="alert">
                                    <p>1.lrtree是一个基于通过jquery的轻量级树形插件!</p>
                                    <p>2.通过jquery选择器就可以动态创建出一个树形数据!</p>
                                    <p>3.支持复选框,ajax后端数据获取,数据懒加载!</p>
                                    <p>4.兼容目前最流行浏览器（IE8+、Chrome、Firefox、360浏览器）</p>
                                </div>
                                <div class="lr-portal-panel-title">
                                    <i class="fa fa-tags"></i>&nbsp;&nbsp;事例
                                </div>
                                <div class="lr-portal-panel-content">
                                    <div id="tree_show_base" class="lr-portal-panel-content-right"></div>
                                </div>
                            </div>
                        </div>
                        <div role="tabpanel" class="tab-pane" id="tree_ajax">
                            <div class="lr-tab-scroll-content">
                                <div class="alert alert-warning" role="alert">
                                    <p>1.可以通过ajax方式获取后台数据!</p>
                                </div>
                                <div class="lr-portal-panel-title">
                                    <i class="fa fa-tags"></i>&nbsp;&nbsp;事例
                                </div>
                                <div class="lr-portal-panel-content">
                                    <div id="tree_show_ajax" class="lr-portal-panel-content-right"></div>
                                </div>
                            </div>
                        </div>
                        <div role="tabpanel" class="tab-pane" id="tree_checkbox">
                            <div class="lr-tab-scroll-content">
                                <div class="alert alert-warning" role="alert">
                                    <p>1.可以给给指定的节点添加勾选框!</p>
                                </div>
                                <div class="lr-portal-panel-title">
                                    <i class="fa fa-tags"></i>&nbsp;&nbsp;事例
                                </div>
                                <div class="lr-portal-panel-content">
                                    <div id="tree_show_checkbox" class="lr-portal-panel-content-right"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="learun_select_area" class="showarea-list-item" style="padding-top:0px;">
                    <div class="lr-tab-scroll-content">
                        <div class="alert alert-warning" role="alert">
                            <p>1.lrselect是一个基于通过jquery的轻量级下拉框插件!</p>
                            <p>2.支持主流浏览器的（IE8+、Chrome、Firefox、360浏览器等）!</p>
                            <p>3.基本能满足所有需求,支持普通下拉框，树形下拉框，支持模糊查询和数据动态加载!</p>
                        </div>
                        <div class="lr-portal-panel-title">
                            <i class="fa fa-tags"></i>&nbsp;&nbsp;事例
                        </div>
                        <div class="lr-portal-panel-content" style="padding:20px;">
                            <div id="select1"></div>
                            <div id="select2" style="margin-top:10px;"></div>
                            <div id="select3" style="margin-top:10px;"></div>
                            <div id="select4" style="margin-top:10px;"></div>
                            <div id="select5" style="margin-top:10px;"></div>
                        </div>
                    </div>
                </div>
                <div id="learun_selectuser_area" class="showarea-list-item" style="padding-top:0px;">
                    <div class="lr-tab-scroll-content">
                        <div class="alert alert-warning" role="alert">
                            <p>1.基于layer弹层和lrselect的人员选择!</p>
                            <p>2.支持主流浏览器的（IE8+、Chrome、Firefox、360浏览器等）!</p>
                            <p>3.基本能满足所有需求!</p>
                        </div>
                        <div class="lr-portal-panel-title">
                            <i class="fa fa-tags"></i>&nbsp;&nbsp;事例
                        </div>
                        <div class="lr-portal-panel-content" style="padding:20px;">
                            <div id="selectuser1"></div>
                            <div id="selectuser2" style="margin-top:10px;"></div>
                        </div>
                    </div>
                </div>
                <div id="jfgrid_area" class="showarea-list-item" style="padding-top:0px;">
                    <div class="lr-tab-scroll-content">
                        <div class="alert alert-warning" role="alert">
                            <p>1.jfgrid是一个轻量级的表格插件!</p>
                            <p>2.所有插件都是支持主流浏览器的（IE8+、Chrome、Firefox、360浏览器等）!</p>
                            <p>3.基本能满足所有需求,最主要的原因是免费的!</p>
                            <p>4.力软前端开发团队对其做了一定的扩展和封装,方便整体框架的使用!</p>
                        </div>
                        <div class="lr-portal-panel-title">
                            <i class="fa fa-tags"></i>&nbsp;&nbsp;事例
                        </div>
                        <div class="lr-portal-panel-content" style="padding:20px;">
                            <div id="learun_jfgrid"></div>
                        </div>
                    </div>
                </div>
                <div id="uploader_area" class="showarea-list-item" style="padding-top:0px;">
                    <div class="lr-tab-scroll-content">
                        <div class="alert alert-warning" role="alert">
                            <p>1.WebUploader是由Baidu WebFE(FEX)团队开发的一个简单的以HTML5为主，FLASH为辅的现代文件上传组件。</p>
                            <p>2.在现代的浏览器里面能充分发挥HTML5的优势，同时又不摒弃主流IE浏览器，沿用原来的FLASH运行时，兼容IE6+，iOS 6+, android 4+。两套运行时，同样的调用方式，可供用户任意选用。</p>
                            <p>3.采用大文件分片并发上传，极大的提高了文件上传效率。</p>
                            <p>4.力软前端开发团队对其做了一定的扩展和封装,方便整体框架的使用!</p>
                        </div>
                        <div class="lr-portal-panel-title">
                            <i class="fa fa-tags"></i>&nbsp;&nbsp;事例
                        </div>
                        <div class="lr-portal-panel-content" style="padding:20px;">
                            <div id="learun_uploader"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="/Content/pace/pace.min.js"></script>
<script src="/Content/jquery/jquery-1.10.2.min.js"></script>
<script src="/Content/bootstrap/bootstrap.min.js"></script>
<script src="/Content/jquery/plugin/scrollbar/jquery.mCustomScrollbar.concat.min.js"></script>
<script src="/Content/jquery/plugin/jfGrid/jfgrid.min.js"></script>
<script src="/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js"></script>
<script>
    (function(a, b) {
        a.fn.lrLayout = function(h) {
            var e = {
                blocks: [{
                    target: ".lr-layout-left",
                    type: "right",
                    size: 203
                }]
            };
            a.extend(e, h || {});
            var c = a(this);
            if (c.length <= 0) {
                return false
            }
            c[0]._lrLayout = {
                dfop: e
            };
            e.id = "lrlayout" + new Date().getTime();
            for (var f = 0, g = e.blocks.length; f < g; f++) {
                var d = e.blocks[f];
                c.children(d.target).append('<div class="lr-layout-move lr-layout-move-' + d.type + ' " path="' + f + '"  ></div>')
            }
            c.on("mousedown", function(m) {
                var n = m.target || m.srcElement;
                var i = a(n);
                var j = a(this);
                var l = j[0]._lrLayout.dfop;
                if (i.hasClass("lr-layout-move")) {
                    var k = i.attr("path");
                    l._currentBlock = l.blocks[k];
                    l._ismove = true;
                    l._pageX = m.pageX
                }
            });
            c.mousemove(function(l) {
                var j = a(this);
                var k = j[0]._lrLayout.dfop;
                if (!!k._ismove) {
                    var i = j.children(k._currentBlock.target);
                    i.css("width", k._currentBlock.size + (l.pageX - k._pageX));
                    j.css("padding-left", k._currentBlock.size + (l.pageX - k._pageX))
                }
            });
            c.on("click", function(k) {
                var i = a(this);
                var j = i[0]._lrLayout.dfop;
                if (!!j._ismove) {
                    j._currentBlock.size += (k.pageX - j._pageX);
                    j._ismove = false
                }
            })
        }
    })(jQuery, top.learun);
    (function(a, b) {
        a.lrtree = {
            getItem: function(f, d) {
                var c = f.split(".");
                var g = d.data;
                for (var e = 0; e < c.length; e++) {
                    if (e == 0) {
                        g = g[c[e]]
                    } else {
                        g = g.ChildNodes[c[e]]
                    }
                }
                return g
            },
            render: function(d) {
                var g = d[0]._lrtree.dfop;
                var e = a('<ul class="lr-tree-root" ></ul>');
                var f = g.data.length;
                for (var h = 0; h < f; h++) {
                    var c = a.lrtree.renderNode(g.data[h], 0, h, g);
                    e.append(c)
                }
                d.append(e);
                d.mCustomScrollbar({
                    theme: "minimal-dark"
                });
                g = null
            },
            renderNode: function(v, p, w, q) {
                if (v.shide) {
                    return ""
                }
                v._deep = p;
                v._path = w;
                var u = v.id.replace(/[^\w]/gi, "_");
                var x = v.title || v.text;
                var g = a('<li class="lr-tree-node"></li>');
                var h = a('<div id="' + q.id + "_" + u + '" tpath="' + w + '" title="' + x + '"  dataId="' + q.id + '"  class="lr-tree-node-el" ></div>');
                if (v.hasChildren) {
                    var o = (v.isexpand || q.isAllExpand) ? "lr-tree-node-expanded" : "lr-tree-node-collapsed";
                    h.addClass(o)
                } else {
                    h.addClass("lr-tree-node-leaf")
                }
                var i = a('<span class="lr-tree-node-indent"></span>');
                if (p == 1) {
                    i.append('<img class="lr-tree-icon" src="' + q.cbiconpath + 's.gif"/>')
                } else {
                    if (p > 1) {
                        i.append('<img class="lr-tree-icon" src="' + q.cbiconpath + 's.gif"/>');
                        for (var r = 1; r < p; r++) {
                            i.append('<img class="lr-tree-icon" src="' + q.cbiconpath + 's.gif"/>')
                        }
                    }
                }
                h.append(i);
                var f = a('<img class="lr-tree-ec-icon" src="' + q.cbiconpath + 's.gif"/>');
                h.append(f);
                if (v.showcheck) {
                    if (v.checkstate == null || v.checkstate == undefined) {
                        v.checkstate = 0
                    }
                    var d = a('<img  id="' + q.id + "_" + u + '_cb" + class="lr-tree-node-cb" src="' + q.cbiconpath + q.icons[v.checkstate] + '" />');
                    h.append(d)
                }
                if (v.icon != -1) {
                    if (!!v.icon) {
                        h.append('<i class="' + v.icon + '"></i>&nbsp;')
                    } else {
                        if (v.hasChildren) {
                            if (v.isexpand || q.isAllExpand) {
                                h.append('<i class="fa fa-folder-open" style="width:15px">&nbsp;</i>')
                            } else {
                                h.append('<i class="fa fa-folder" style="width:15px">&nbsp;</i>')
                            }
                        } else {
                            h.append('<i class="fa fa-file-o"></i>&nbsp;')
                        }
                    }
                }
                var n = '<a class="lr-tree-node-anchor" href="javascript:void(0);">';
                n += '<span data-value="' + v.id + '" class="lr-tree-node-text" >' + v.text + "</span>";
                n += "</a>";
                h.append(n);
                h.on("click", a.lrtree.nodeClick);
                if (!v.complete) {
                    h.append('<div class="lr-tree-loading"><img class="lr-tree-ec-icon" src="' + q.cbiconpath + 'loading.gif"/></div>')
                }
                g.append(h);
                if (v.hasChildren) {
                    var m = a('<ul  class="lr-tree-node-ct" >');
                    if (!v.isexpand && !q.isAllExpand) {
                        m.css("display", "none")
                    }
                    if (v.ChildNodes) {
                        var t = v.ChildNodes.length;
                        for (var s = 0; s < t; s++) {
                            v.ChildNodes[s].parent = v;
                            var e = a.lrtree.renderNode(v.ChildNodes[s], p + 1, w + "." + s, q);
                            m.append(e)
                        }
                        g.append(m)
                    }
                }
                v.render = true;
                q = null;
                return g
            },
            renderNodeAsync: function(d, i, f) {
                var e = a('<ul  class="lr-tree-node-ct" >');
                if (!i.isexpand && !f.isAllExpand) {
                    e.css("display", "none")
                }
                if (i.ChildNodes) {
                    var h = i.ChildNodes.length;
                    for (var g = 0; g < h; g++) {
                        i.ChildNodes[g].parent = i;
                        var c = a.lrtree.renderNode(i.ChildNodes[g], i._deep + 1, i._path + "." + g, f);
                        e.append(c)
                    }
                    d.parent().append(e)
                }
                return e
            },
            renderToo: function(d) {
                var g = d[0]._lrtree.dfop;
                var e = d.find(".lr-tree-root");
                e.html("");
                var f = g.data.length;
                for (var h = 0; h < f; h++) {
                    var c = a.lrtree.renderNode(g.data[h], 0, h, g);
                    e.append(c)
                }
                g = null
            },
            nodeClick: function(i) {
                var j = i.target || i.srcElement;
                var f = a(this);
                var d = a("#" + f.attr("dataId"));
                var h = d[0]._lrtree.dfop;
                if (j.tagName == "IMG") {
                    var c = a(j);
                    var g = f.next(".lr-tree-node-ct");
                    if (c.hasClass("lr-tree-ec-icon")) {
                        if (f.hasClass("lr-tree-node-expanded")) {
                            g.slideUp(200, function() {
                                f.removeClass("lr-tree-node-expanded");
                                f.addClass("lr-tree-node-collapsed")
                            })
                        } else {
                            if (f.hasClass("lr-tree-node-collapsed")) {
                                var l = f.attr("tpath");
                                var k = a.lrtree.getItem(l, h);
                                if (!k.complete) {
                                    if (!k._loading) {
                                        k._loading = true;
                                        f.find(".lr-tree-loading").show();
                                        b.httpAsync("GET", h.url, {
                                            parentId: k.id
                                        }, function(e) {
                                            if (!!e) {
                                                k.ChildNodes = e;
                                                g = a.lrtree.renderNodeAsync(f, k, h);
                                                g.slideDown(200, function() {
                                                    f.removeClass("lr-tree-node-collapsed");
                                                    f.addClass("lr-tree-node-expanded")
                                                });
                                                k.complete = true;
                                                f.find(".lr-tree-loading").hide()
                                            }
                                            k._loading = false
                                        })
                                    }
                                } else {
                                    g.slideDown(200, function() {
                                        f.removeClass("lr-tree-node-collapsed");
                                        f.addClass("lr-tree-node-expanded")
                                    })
                                }
                            }
                        }
                    } else {
                        if (c.hasClass("lr-tree-node-cb")) {
                            var l = f.attr("tpath");
                            var k = a.lrtree.getItem(l, h);
                            if (k.checkstate == 1) {
                                k.checkstate = 0
                            } else {
                                k.checkstate = 1
                            }
                            c.attr("src", h.cbiconpath + h.icons[k.checkstate]);
                            a.lrtree.checkChild(a.lrtree.check, k, k.checkstate, h);
                            a.lrtree.checkParent(a.lrtree.check, k, k.checkstate, h);
                            if (!!h.nodeCheck) {
                                h.nodeCheck(k, f)
                            }
                        }
                    }
                } else {
                    var l = f.attr("tpath");
                    var k = a.lrtree.getItem(l, h);
                    h.currentItem = k;
                    a("#" + h.id).find(".lr-tree-selected").removeClass("lr-tree-selected");
                    f.addClass("lr-tree-selected");
                    if (!!h.nodeClick) {
                        h.nodeClick(k, f)
                    }
                }
                return false
            },
            check: function(h, n, o, e) {
                var m = h.checkstate;
                if (o == 1) {
                    h.checkstate = n
                } else {
                    var d = h.ChildNodes;
                    var j = d.length;
                    var c = true;
                    for (var g = 0; g < j; g++) {
                        d[g].checkstate = d[g].checkstate || 0;
                        if ((n == 1 && d[g].checkstate != 1) || n == 0 && d[g].checkstate != 0) {
                            c = false;
                            break
                        }
                    }
                    if (c) {
                        h.checkstate = n
                    } else {
                        h.checkstate = 2
                    }
                }
                if (h.render && m != h.checkstate) {
                    var k = h.id.replace(/[^\w]/gi, "_");
                    var f = a("#" + e.id + "_" + k + "_cb");
                    if (f.length == 1) {
                        f.attr("src", e.cbiconpath + e.icons[h.checkstate])
                    }
                }
            },
            checkParent: function(d, e, h, c) {
                var f = e.parent;
                while (f) {
                    var g = d(f, h, 0, c);
                    if (g === false) {
                        break
                    }
                    f = f.parent
                }
            },
            checkChild: function(e, h, j, d) {
                if (e(h, j, 1, d) != false) {
                    if (h.ChildNodes != null && h.ChildNodes.length > 0) {
                        var c = h.ChildNodes;
                        for (var f = 0, g = c.length; f < g; f++) {
                            a.lrtree.checkChild(e, c[f], j, d)
                        }
                    }
                }
            },
            search: function(d, c) {
                var e = false;
                a.each(c, function(g, h) {
                    var f = false;
                    if (!b.validator.isNotNull(d).code || h.text.indexOf(d) != -1) {
                        f = true
                    }
                    if (h.hasChildren) {
                        if (a.lrtree.search(d, h.ChildNodes)) {
                            f = true
                        }
                    }
                    if (f) {
                        e = true;
                        h.isexpand = true;
                        h.shide = false
                    } else {
                        h.shide = true
                    }
                });
                return e
            },
            findItem: function(e, f, g) {
                var d = null;
                c(e, f, g);

                function c(h, j, k) {
                    for (var m = 0, n = h.length; m < n; m++) {
                        if (h[m][f] == g) {
                            d = h[m];
                            return true
                        }
                        if (h[m].hasChildren && h[m].ChildNodes.length > 0) {
                            if (c(h[m].ChildNodes, j, k)) {
                                return true
                            }
                        }
                    }
                    return false
                }
                return d
            },
            listTotree: function(e, m, g, o, p, d) {
                var n = [];
                var k = {};
                for (var f = 0, j = e.length; f < j; f++) {
                    var h = e[f];
                    k[h[m]] = k[h[m]] || [];
                    k[h[m]].push(h)
                }
                c(n, "0");

                function c(i, v) {
                    var u = k[v] || [];
                    for (var s = 0, t = u.length; s < t; s++) {
                        var q = u[s];
                        var r = {
                            id: q[g],
                            text: q[o],
                            value: q[p],
                            showcheck: d,
                            checkstate: false,
                            hasChildren: false,
                            isexpand: false,
                            complete: true,
                            ChildNodes: []
                        };
                        if (c(r.ChildNodes, q[g])) {
                            r.hasChildren = true;
                            r.isexpand = true
                        }
                        i.push(r)
                    }
                    return i.length > 0
                }
                return n
            },
            treeTotree: function(f, g, i, j, d, e) {
                var h = [];
                c(h, f);

                function c(q, n) {
                    for (var o = 0, p = n.length; o < p; o++) {
                        var k = n[o];
                        var m = {
                            id: k[g],
                            text: k[i],
                            value: k[j],
                            showcheck: d,
                            checkstate: false,
                            hasChildren: false,
                            isexpand: true,
                            complete: true,
                            ChildNodes: []
                        };
                        if (k[e].length > 0) {
                            m.hasChildren = true;
                            c(m.ChildNodes, k[e])
                        }
                        q.push(m)
                    }
                }
                return h
            },
            addNode: function(e, i, g, h) {
                var f = e[0]._lrtree.dfop;
                if (!!g) {
                    f.data.splice(h, 0, i);
                    var c = a.lrtree.renderNode(i, 0, h, f);
                    if (e.find(".lr-tree-root>li").length == 0) {
                        e.find(".lr-tree-root>li").append(c)
                    } else {
                        e.find(".lr-tree-root>li").eq(h).before(c)
                    }
                } else {
                    var d = e.find("#" + f.id + "_" + g);
                    var j = d.attr("tpath");
                    var c = a.lrtree.renderNode(i, 0, j + "." + h, f);
                    if (d.next().children().length == 0) {
                        d.next().children().append(c)
                    } else {
                        d.next().children().eq(h).before(c)
                    }
                }
            },
            setValue: function(c) {
                var d = c[0]._lrtree.dfop;
                if (d.data.length == 0) {
                    setTimeout(function() {
                        a.lrtree.setValue(c)
                    }, 100)
                } else {
                    c.find('span[data-value="' + d._value + '"]').trigger("click")
                }
            }
        };
        a.fn.lrtree = function(g) {
            var d = {
                icons: ["checkbox_0.png", "checkbox_1.png", "checkbox_2.png"],
                method: "GET",
                url: false,
                param: null,
                data: [],
                isAllExpand: false,
                cbiconpath: top.$.rootUrl + "/Content/images/learuntree/",
                nodeClick: false,
                nodeCheck: false
            };
            a.extend(d, g);
            var c = a(this);
            d.id = c.attr("id");
            if (d.id == null || d.id == "") {
                d.id = "learuntree" + new Date().getTime();
                c.attr("id", d.id)
            }
            c.html("");
            c.addClass("lr-tree");
            c[0]._lrtree = {
                dfop: d
            };
            c[0]._lrtree.dfop.backupData = d.data;
            if (d.url) {
                b.httpAsync(d.method, d.url, d.param, function(h) {
                    c[0]._lrtree.dfop.data = h || [];
                    c[0]._lrtree.dfop.backupData = c[0]._lrtree.dfop.data;
                    a.lrtree.render(c)
                })
            } else {
                a.lrtree.render(c)
            }
            if (d.showcheck) {
                for (var e = 0; e < 3; e++) {
                    var f = new Image();
                    f.src = d.cbiconpath + d.icons[e]
                }
            }
            d = null;
            return c
        };
        a.fn.lrtreeSet = function(i, j) {
            var c = a(this);
            var e = c[0]._lrtree.dfop;
            var f = function(p, m, n) {
                for (var o = 0, q = p.length; o < q; o++) {
                    if (c.find("#" + e.id + "_" + p[o].id.replace(/-/g, "_")).parent().css("display") != "none") {
                        (p[o].showcheck == true && (p[o].checkstate == 1 || p[o].checkstate == 2)) && m.push(n(p[o]));
                        if (!p[o].showcheck || (p[o].showcheck == true && (p[o].checkstate == 1 || p[o].checkstate == 2))) {
                            if (p[o].ChildNodes != null && p[o].ChildNodes.length > 0) {
                                f(p[o].ChildNodes, m, n)
                            }
                        }
                    }
                }
            };
            var g = function(p, m, n) {
                for (var o = 0, q = p.length; o < q; o++) {
                    (p[o].showcheck == true && (p[o].checkstate == 1 || p[o].checkstate == 2) && !p[o].hasChildren) && m.push(n(p[o]));
                    if (!p[o].showcheck || (p[o].showcheck == true && (p[o].checkstate == 1 || p[o].checkstate == 2))) {
                        if (p[o].ChildNodes != null && p[o].ChildNodes.length > 0) {
                            g(p[o].ChildNodes, m, n)
                        }
                    }
                }
            };
            var l = function(p, m, n) {
                for (var o = 0, q = p.length; o < q; o++) {
                    if (p[o].showcheck) {
                        p[o].checkstate = 0
                    }
                    if (p[o].ChildNodes != null && p[o].ChildNodes.length > 0) {
                        l(p[o].ChildNodes)
                    }
                }
            };
            switch (i) {
                case "allNoCheck":
                    c.find(".lr-tree-node-cb").attr("src", e.cbiconpath + "checkbox_0.png");
                    l(e.data);
                    break;
                case "allCheck":
                    c.find('.lr-tree-node-cb[src$="checkbox_0.png"]').trigger("click");
                    break;
                case "setCheck":
                    var h = j;
                    a.each(h, function(n, o) {
                        var m = c.find("#" + e.id + "_" + o.replace(/-/g, "_"));
                        if (m.next().length == 0) {
                            m.find(".lr-tree-node-cb").trigger("click")
                        }
                    });
                    break;
                case "setValue":
                    e._value = j;
                    a.lrtree.setValue(c);
                    break;
                case "currentItem":
                    return e.currentItem;
                    break;
                case "getCheckNodesEx":
                    var d = [];
                    g(e.data, d, function(m) {
                        return m
                    });
                    return d;
                    break;
                case "getCheckNodes":
                    var d = [];
                    f(e.data, d, function(m) {
                        return m
                    });
                    return d;
                    break;
                case "getCheckNodeIds":
                    var d = [];
                    f(e.data, d, function(m) {
                        return m.id
                    });
                    return d;
                    break;
                case "getCheckNodeIdsByPath":
                    var d = [];
                    var k;
                    f(e.data, d, function(m) {
                        return m.id
                    });
                    return d;
                    break;
                case "search":
                    a.lrtree.search(j.keyword, e.data);
                    if (b.validator.isNotNull(j.keyword).code) {
                        e._isSearch = true
                    } else {
                        if (e._isSearch) {
                            e._isSearch = false
                        }
                    }
                    a.lrtree.renderToo(c);
                    break;
                case "refresh":
                    a.extend(e, j || {});
                    if (!!e.url) {
                        b.httpAsync(e.method, e.url, e.param, function(m) {
                            c[0]._lrtree.dfop.data = m || [];
                            c[0]._lrtree.dfop.backupData = c[0]._lrtree.dfop.data;
                            a.lrtree.renderToo(c);
                            e._isSearch = false
                        })
                    } else {
                        c[0]._lrtree.dfop.backupData = c[0]._lrtree.dfop.data;
                        a.lrtree.renderToo(c);
                        e._isSearch = false
                    }
                    break;
                case "addNode":
                    break;
                case "updateNode":
                    break
            }
        }
    })(jQuery, top.learun);
    (function(a, b) {
        a.lrselect = {
            htmlToData: function(c) {
                var e = c[0]._lrselect.dfop;
                var d = c.find("ul");
                e.data = [];
                d.find("li").each(function() {
                    var f = a(this);
                    var g = {
                        id: f.attr("data-value"),
                        text: f.html()
                    };
                    e.data.push(g)
                });
                d.remove();
                d = null;
                e = null
            },
            initRender: function(h, f) {
                var c = a('<div class="lr-select-option" id="learun_select_option_' + h.id + '"></div>');
                var d = a('<div class="lr-select-option-content"></div>');
                var g = a('<ul id="learun_select_option_content' + h.id + '"></ul>');
                d.css("max-height", h.maxHeight + "px");
                c.hide();
                d.html(g);
                c.prepend(d);
                if (h.allowSearch) {
                    var e = a('<div class="lr-select-option-search"><input type="text" placeholder="搜索关键字"><span class="input-query" title="查询"><i class="fa fa-search"></i></span></div>');
                    c.append(e);
                    c.css("padding-bottom", "25px");
                    e.on("click", function() {
                        return false
                    });
                    e.find("input").on("keypress", function(p) {
                        if (event.keyCode == "13") {
                            var m = a(this);
                            var r = m.val();
                            var k = m.parents(".lr-select");
                            var o = k[0]._lrselect.dfop;
                            if (o.type == "tree" || o.type == "treemultiple") {
                                var j = m.parent().prev();
                                j.lrtreeSet("search", {
                                    keyword: r
                                })
                            } else {
                                if (o.type == "default" || o.type == "multiple") {
                                    for (var q = 0, s = o.data.length; q < s; q++) {
                                        var n = o.data[q];
                                        if (!r || n[o.text].indexOf(r) != -1) {
                                            n._lrhide = false
                                        } else {
                                            n._lrhide = true
                                        }
                                    }
                                    a.lrselect.render(o)
                                }
                            }
                        }
                    })
                }
                f.append(c);
                f.append('<div class="lr-select-placeholder" >==' + h.placeholder + "==</div>");
                f.attr("type", "lrselect").addClass("lr-select");
                if (h.type != "tree") {
                    d.mCustomScrollbar({
                        theme: "minimal-dark"
                    })
                }
            },
            render: function(c) {
                switch (c.type) {
                    case "default":
                        a.lrselect.defaultRender(c);
                        break;
                    case "tree":
                    case "treemultiple":
                        a.lrselect.treeRender(c);
                        break;
                    case "gird":
                        break;
                    case "multiple":
                        a.lrselect.multipleRender(c);
                        break;
                    default:
                        break
                }
                c.isrender = true
            },
            defaultRender: function(e) {
                var d = a("#learun_select_option_content" + e.id);
                d.html("");
                if (!!e.placeholder) {
                    d.append('<li data-value="-1" class="lr-selectitem-li" >==' + e.placeholder + "==</li>")
                }
                for (var f = 0, h = e.data.length; f < h; f++) {
                    var g = e.data[f];
                    if (!g._lrhide) {
                        var c = a('<li data-value="' + f + '" class="lr-selectitem-li" >' + g[e.text] + "</li>");
                        d.append(c)
                    }
                }
            },
            multipleRender: function(e) {
                var d = a("#learun_select_option_content" + e.id);
                d.html("");
                if (!!e.placeholder) {
                    d.append('<li data-value="-1" class="lr-selectitem-li" >==' + e.placeholder + "==</li>")
                }
                for (var f = 0, h = e.data.length; f < h; f++) {
                    var g = e.data[f];
                    if (!g._lrhide) {
                        if (!!e.multipleMapValue && e.multipleMapValue[f] != undefined) {
                            var c = a('<li data-value="' + f + '" class="lr-selectitem-li" ><img class="lr-select-node-cb" src="${request.contextPath}/Content/images/learuntree/checkbox_1.png">' + g[e.text] + "</li>");
                            d.append(c)
                        } else {
                            var c = a('<li data-value="' + f + '" class="lr-selectitem-li" ><img class="lr-select-node-cb" src="${request.contextPath}/Content/images/learuntree/checkbox_0.png">' + g[e.text] + "</li>");
                            d.append(c)
                        }
                    }
                }
            },
            treeRender: function(e) {
                var c = a("#learun_select_option_" + e.id);
                c.find(".lr-select-option-content").remove();
                var d = a('<div class="lr-select-option-content"></div>');
                c.prepend(d);
                d.css("max-height", e.maxHeight + "px");
                e.data.unshift({
                    id: "-1",
                    text: "==" + e.placeholder + "==",
                    value: "-1",
                    icon: "-1",
                    parentnodes: "0",
                    showcheck: false,
                    isexpand: false,
                    complete: true,
                    hasChildren: false,
                    ChildNodes: []
                });
                var f = {
                    data: e.data,
                    nodeClick: a.lrselect.treeNodeClick
                };
                if (e.type == "treemultiple") {
                    f.nodeClick = a.lrselect.treeNodeClick2;
                    f.nodeCheck = a.lrselect.treeNodeCheck
                }
                d.lrtree(f)
            },
            bindEvent: function(c) {
                c.unbind("click");
                c.on("click", a.lrselect.click);
                a(document).click(function(d) {
                    a(".lr-select-option").slideUp(150);
                    a(".lr-select").removeClass("lr-select-focus")
                })
            },
            click: function(k) {
                var h = a(this);
                if (h.attr("readonly") == "readonly" || h.attr("disabled") == "disabled") {
                    return false
                }
                var j = h[0]._lrselect.dfop;
                if (!j.isload) {
                    return false
                }
                if (!j.isrender) {
                    a.lrselect.render(j)
                }
                var l = k.target || k.srcElement;
                var d = a(l);
                var g = a("#learun_select_option_" + j.id);
                if (g.is(":hidden")) {
                    a(".lr-select-option").slideUp(150);
                    a(".lr-select").removeClass("lr-select-focus");
                    h.addClass("lr-select-focus");
                    var n = j.width || h.parent().width();
                    g.css("width", n).show();
                    g.find(".lr-select-option-search").find("input").select()
                } else {
                    if (j.type != "multiple") {
                        g.slideUp(150);
                        h.removeClass("lr-select-focus")
                    }
                }
                if (j.type != "multiple") {
                    if (d.hasClass("lr-selectitem-li")) {
                        var i = d.attr("data-value");
                        if (j._index != i) {
                            var f = h.find(".lr-select-placeholder");
                            if (i == -1) {
                                f.css("color", "#999");
                                f.html("==" + j.placeholder + "==")
                            } else {
                                f.css("color", "#000");
                                f.html(j.data[i][j.text])
                            }
                            d.addClass("selected");
                            if (j._index != undefined && j._index != null) {
                                g.find('.lr-selectitem-li[data-value="' + j._index + '"]').removeClass("selected")
                            }
                            j._index = i;
                            h.trigger("change");
                            if (!!j.select) {
                                j.select(j.data[i])
                            }
                        }
                    }
                } else {
                    if (d.hasClass("lr-selectitem-li") || d.hasClass("lr-select-node-cb")) {
                        var f = h.find(".lr-select-placeholder");
                        var c = d.find(".lr-select-node-cb");
                        var i = d.attr("data-value");
                        if (d.hasClass("lr-select-node-cb")) {
                            c = d;
                            i = d.parent().attr("data-value")
                        }
                        j.multipleMapValue = j.multipleMapValue || {};
                        j.multipleValue = j.multipleValue || [];
                        j.multipleText = j.multipleText || [];
                        if (j._index != undefined && j._index != null) {
                            g.find('.lr-selectitem-li[data-value="' + j._index + '"]').removeClass("selected")
                        }
                        if (i == -1) {
                            f.css("color", "#999");
                            f.html("==" + j.placeholder + "==");
                            j.multipleMapValue = {};
                            j.multipleValue = [];
                            j.multipleText = [];
                            g.find('.lr-select-node-cb[src$="checkbox_1.png"]').attr("src", "/Content/images/learuntree/checkbox_0.png");
                            g.slideUp(150);
                            h.removeClass("lr-select-focus")
                        } else {
                            var m = true;
                            if (j.multipleMapValue[i] == undefined) {
                                f.css("color", "#000");
                                j.multipleValue.push(j.data[i][j.value]);
                                j.multipleText.push(j.data[i][j.text]);
                                j.multipleMapValue[i] = j.multipleText.length - 1;
                                f.html(String(j.multipleText));
                                c.attr("src", "/Content/images/learuntree/checkbox_1.png")
                            } else {
                                j.multipleText.splice(j.multipleMapValue[i], 1);
                                j.multipleValue.splice(j.multipleMapValue[i], 1);
                                delete j.multipleMapValue[i];
                                if (j.multipleText.length == 0) {
                                    f.css("color", "#999");
                                    f.html("==" + j.placeholder + "==")
                                } else {
                                    f.html(String(j.multipleText))
                                }
                                m = false;
                                c.attr("src", "/Content/images/learuntree/checkbox_0.png")
                            }
                            h.trigger("change");
                            if (!!j.select) {
                                j.select(j.data[i], m, h)
                            }
                        }
                    }
                }
                j = null;
                k.stopPropagation()
            },
            treeNodeClick: function(g, d) {
                d.parents(".lr-select-option").slideUp(150);
                var e = d.parents(".lr-select");
                var f = e[0]._lrselect.dfop;
                e.removeClass("lr-select-focus");
                f.currtentItem = g;
                var c = e.find(".lr-select-placeholder");
                c.html(f.currtentItem.text);
                if (g.value == "-1") {
                    c.css("color", "#999")
                } else {
                    c.css("color", "#000")
                }
                e.trigger("change");
                if (!!f.select) {
                    f.select(f.currtentItem)
                }
            },
            treeNodeClick2: function(g, d) {
                $tree = d.parents(".lr-select-option-content");
                var e = d.parents(".lr-select");
                var f = e[0]._lrselect.dfop;
                e.removeClass("lr-select-focus");
                f.currtentItems = [];
                if (g.value == "-1") {
                    d.parents(".lr-select-option").slideUp(150);
                    $tree.lrtreeSet("allNoCheck");
                    var c = e.find(".lr-select-placeholder");
                    c.html(g.text);
                    c.css("color", "#999");
                    e.trigger("change");
                    if (!!f.select) {
                        f.select([])
                    }
                }
            },
            treeNodeCheck: function(j, d) {
                $tree = d.parents(".lr-select-option-content");
                var e = d.parents(".lr-select");
                var c = e.find(".lr-select-placeholder");
                e.removeClass("lr-select-focus");
                var g = e[0]._lrselect.dfop;
                var f = $tree.lrtreeSet("getCheckNodesEx");
                g.currtentItems = f;
                var n = "";
                for (var h = 0, k = f.length; h < k; h++) {
                    var m = f[h];
                    if (n != "") {
                        n += ","
                    }
                    n += m.text
                }
                if (n == "") {
                    c.html("==" + g.placeholder + "==");
                    c.css("color", "#999")
                } else {
                    c.text(n);
                    c.css("color", "#000")
                }
                e.trigger("change");
                if (!!g.select) {
                    g.select(g.currtentItems)
                }
            },
            defaultValue: function(d) {
                var e = d[0]._lrselect.dfop;
                e.currtentItem = null;
                e._index = -1;
                var c = d.find(".lr-select-placeholder");
                c.css("color", "#999");
                c.html("==" + e.placeholder + "==");
                d.trigger("change")
            }
        };
        a.fn.lrselect = function(e) {
            var d = {
                placeholder: "请选择",
                type: "default",
                value: "id",
                text: "text",
                title: "title",
                maxHeight: 200,
                width: false,
                allowSearch: false,
                url: false,
                data: false,
                param: null,
                method: "GET",
                select: false,
                isload: false,
                isrender: false
            };
            a.extend(d, e || {});
            var c = a(this);
            if (c.length == 0) {
                return c
            }
            d.id = c.attr("id");
            if (!d.id) {
                return false
            }
            if (!!c[0]._lrselect) {
                return c
            }
            c[0]._lrselect = {
                dfop: d
            };
            a.lrselect.bindEvent(c);
            if (!!d.url) {
                b.httpAsync(d.method, d.url, d.param, function(f) {
                    c[0]._lrselect.dfop.data = f || [];
                    c[0]._lrselect.dfop.backdata = f || [];
                    d.isload = true
                })
            } else {
                if (!!d.data) {
                    d.isload = true;
                    d.backdata = d.data
                } else {
                    a.lrselect.htmlToData(c);
                    d.isload = true;
                    d.backdata = d.data
                }
            }
            a.lrselect.initRender(d, c);
            return c
        };
        a.fn.lrselectRefresh = function(e) {
            var c = a(this);
            if (c.length == 0) {
                return c
            }
            if (!c[0]._lrselect) {
                return false
            }
            var d = c[0]._lrselect.dfop;
            if (!d) {
                return false
            }
            a.extend(d, e || {});
            d.isload = false;
            d.isrender = false;
            if (!!d.url) {
                b.httpAsync(d.method, d.url, d.param, function(f) {
                    c[0]._lrselect.dfop.data = f || [];
                    c[0]._lrselect.dfop.backdata = f || [];
                    d.isload = true
                })
            } else {
                if (!!d.data) {
                    d.isload = true;
                    d.backdata = d.data
                }
            }
            a.lrselect.defaultValue(c);
            if (d._setValue != null && d._setValue != undefined) {
                c.lrselectSet(d._setValue)
            }
        };
        a.fn.lrselectGet = function() {
            var c = a(this);
            if (c.length == 0) {
                return c
            }
            var d = c[0]._lrselect.dfop;
            var g = "";
            switch (d.type) {
                case "default":
                    if (!!d.data[d._index]) {
                        g = d.data[d._index][d.value]
                    }
                    break;
                case "tree":
                    if (!!d.currtentItem) {
                        g = d.currtentItem[d.value]
                    }
                    break;
                case "treemultiple":
                    if (!!d.currtentItems) {
                        for (var e = 0, f = d.currtentItems.length; e < f; e++) {
                            if (g != "") {
                                g += ","
                            }
                            g += d.currtentItems[e][d.value]
                        }
                    }
                    break;
                case "gird":
                    break;
                case "multiple":
                    d.multipleValue = d.multipleValue || [];
                    return String(d.multipleValue);
                    break;
                default:
                    break
            }
            return g
        };
        a.fn.lrselectSet = function(f) {
            var c = a(this);
            if (c.length == 0) {
                return c
            }
            f = f + "";
            if (f == "" || f == undefined || f == null) {
                a.lrselect.defaultValue(c);
                return c
            }
            var e = c[0]._lrselect.dfop;
            e._setValue = null;
            if (!e) {
                return c
            }

            function d(m) {
                if (m.isload == false) {
                    setTimeout(function() {
                        d(m)
                    }, 100)
                } else {
                    if (m.isload == true) {
                        var j;
                        switch (m.type) {
                            case "default":
                                for (var n = 0, o = m.data.length; n < o; n++) {
                                    if (m.data[n][m.value] == f) {
                                        m._index = n;
                                        j = m.data[n];
                                        break
                                    }
                                }
                                break;
                            case "tree":
                                j = a.lrtree.findItem(m.data, m.value, f);
                                m.currtentItem = j;
                                break;
                            case "treemultiple":
                                a.lrselect.render(m);
                                c.find(".lr-select-option-content").lrtreeSet("setCheck", f.split(","));
                                return false;
                                break;
                            case "gird":
                                break;
                            case "multiple":
                                m.multipleMapValue = {};
                                m.multipleValue = [];
                                m.multipleText = [];
                                if (m.isrender) {
                                    c.find('.lr-select-node-cb[src$="checkbox_1.png"]').attr("src", "/Content/images/learuntree/checkbox_0.png")
                                }
                                var k = f.split(",");
                                for (var n = 0, o = m.data.length; n < o; n++) {
                                    var h = a.inArray(m.data[n][m.value], k);
                                    if (h != -1) {
                                        m.multipleMapValue[n] = h;
                                        m.multipleValue.push(m.data[n][m.value]);
                                        m.multipleText.push(m.data[n][m.text]);
                                        if (m.isrender) {
                                            c.find('[data-value="' + n + '"] .lr-select-node-cb').attr("src", "/Content/images/learuntree/checkbox_1.png")
                                        }
                                        if (!!m.select) {
                                            m.select(m.data[n], true, c)
                                        }
                                    }
                                }
                                if (m.multipleText.length > 0) {
                                    j = m.multipleText
                                }
                                break;
                            default:
                                break
                        }
                        if (!!j) {
                            if (m.type == "multiple") {
                                var g = c.find(".lr-select-placeholder");
                                if (m.multipleText.length > 0) {
                                    g.css("color", "#000")
                                } else {
                                    g.css("color", "#999")
                                }
                                g.html(String(m.multipleText));
                                c.trigger("change")
                            } else {
                                var g = c.find(".lr-select-placeholder");
                                g.html(j[m.text]);
                                g.css("color", "#000");
                                c.trigger("change");
                                if (!!m.select) {
                                    m.select(j)
                                }
                            }
                        } else {
                            m._setValue = f
                        }
                    }
                }
            }
            d(e);
            return c
        }
    })(jQuery, top.learun);
    (function(a, b) {
        a.lrformselect = {
            init: function(d) {
                var e = d[0]._lrformselect.dfop;
                d.addClass("lr-formselect");
                d.attr("type", "formselect");
                var c = a("<span>" + e.placeholder + '</span><i class="fa ' + e.icon + '"></i><div class="clear-btn" >清空</div>');
                d.on("click", a.lrformselect.click);
                d.html(c)
            },
            click: function(h) {
                var d = a(this);
                var g = d[0]._lrformselect.dfop;
                var i = h.target || h.srcElement;
                var c = a(i);
                if (c.hasClass("clear-btn")) {
                    g._itemValue = {
                        value: "",
                        text: g.placeholder
                    };
                    d.removeClass("selected");
                    d.find("span").text(g._itemValue.text);
                    if (!!g.select) {
                        g.select(g._itemValue)
                    }
                } else {
                    var j = g._itemValue ? g._itemValue.value : "";
                    var f = g.layerUrl;
                    if (f.indexOf("?") != -1) {
                        f += "&dfopid=" + g.id
                    } else {
                        f += "?dfopid=" + g.id
                    }
                    f += "&selectValue=" + j;
                    f += "&selectText=" + encodeURI(encodeURI(d.find("span").text()));
                    b.layerForm({
                        id: g.id,
                        title: g.placeholder,
                        url: f,
                        width: g.layerUrlW,
                        height: g.layerUrlH,
                        maxmin: true,
                        callBack: function(e) {
                            return top[e].acceptClick(a.lrformselect.callback)
                        }
                    })
                }
            },
            callback: function(f, e, g) {
                var c = a("#" + e);
                var d = c[0]._lrformselect.dfop;
                top["lr_selectform_" + e] = {
                    _obj: g
                };
                d._itemValue = d._itemValue || {};
                if (d._itemValue.value != f.value) {
                    if (!!d.select) {
                        d.select(f)
                    }
                    c.trigger("change")
                }
                if (f.value == "") {
                    f.text = d.placeholder
                } else {
                    c.addClass("selected")
                }
                c.find("span").text(f.text);
                d._itemValue = f
            }
        };
        a.fn.lrformselect = function(e) {
            var d = {
                placeholder: "请选择",
                icon: "fa-plus",
                layerUrl: false,
                layerParam: false,
                layerUrlW: 600,
                layerUrlH: 400,
                dataUrl: null,
                select: false,
            };
            a.extend(d, e || {});
            var c = a(this);
            d.id = c.attr("id");
            if (!d.id) {
                return false
            }
            if (!!c[0]._lrformselect) {
                return c
            }
            c[0]._lrformselect = {
                dfop: d
            };
            a.lrformselect.init(c);
            return c
        };
        a.fn.lrformselectRefresh = function(e) {
            var c = a(this);
            var d = c[0]._lrformselect.dfop;
            a.extend(d, e || {});
            d._itemValue = null;
            c.find("span").text(d.placeholder)
        };
        a.fn.lrformselectGet = function() {
            var c = a(this);
            var d = c[0]._lrformselect.dfop;
            return d._itemValue ? d._itemValue.value : ""
        };
        a.fn.lrformselectSet = function(e) {
            var c = a(this);
            var d = c[0]._lrformselect.dfop;
            if (e == "") {
                d._itemValue = {
                    value: "",
                    text: ""
                };
                c.removeClass("selected");
                c.find("span").text(d.placeholder);
                return false
            }
            d._itemValue = {
                value: e
            };
            b.httpAsync("GET", d.dataUrl, {
                keyValue: e
            }, function(f) {
                if (!!f && f != "") {
                    d._itemValue.text = f;
                    c.addClass("selected");
                    c.find("span").text(f)
                }
            })
        };
        a.lrGirdSelect = {
            init: function(d) {
                var e = d[0]._lrGirdSelect.dfop;
                d.addClass("lr-formselect");
                d.attr("type", "lrGirdSelect");
                var c = a("<span>" + e.placeholder + '</span><i class="fa ' + e.icon + '"></i><div class="clear-btn" >清空</div>');
                d.on("click", a.lrGirdSelect.click);
                d.html(c);
                b.httpAsync("GET", e.url, e.param, function(f) {
                    e._loaded = true;
                    e._data = f || []
                });
                top.lrGirdSelect = top.lrGirdSelect || {};
                top.lrGirdSelect[e.id] = e
            },
            click: function(g) {
                var d = a(this);
                var f = d[0]._lrGirdSelect.dfop;
                var h = g.target || g.srcElement;
                var c = a(h);
                if (c.hasClass("clear-btn")) {
                    f._itemValue = {
                        value: "",
                        text: f.placeholder
                    };
                    d.removeClass("selected");
                    d.find("span").text(f._itemValue.text);
                    if (!!f.select) {
                        f.select(f._itemValue)
                    }
                } else {
                    var i = f._itemValue ? f._itemValue.value : "";
                    b.layerForm({
                        id: f.id,
                        title: f.placeholder,
                        url: top.$.rootUrl + "/Utility/GirdSelectIndex?dfopid=" + f.id,
                        width: f.width,
                        height: f.height,
                        maxmin: true,
                        callBack: function(e) {
                            return top[e].acceptClick(a.lrGirdSelect.callback)
                        }
                    })
                }
            },
            callback: function(f, e) {
                var c = a("#" + e);
                var d = c[0]._lrGirdSelect.dfop;
                d._itemValue = d._itemValue || {};
                if (d._itemValue[d.value] != f[d.value]) {
                    if (!!d.select) {
                        d.select(f)
                    }
                    c.trigger("change")
                }
                if (!f) {
                    f.text = d.placeholder
                } else {
                    c.addClass("selected")
                }
                c.find("span").text(f[d.text]);
                d._itemValue = f
            }
        };
        a.fn.lrGirdSelect = function(e) {
            var d = {
                placeholder: "请选择",
                icon: "fa-plus",
                url: "",
                selectWord: "",
                headData: [],
                value: "",
                text: "",
                width: 600,
                height: 400,
                select: false,
                param: {},
                _loaded: false
            };
            a.extend(d, e || {});
            var c = a(this);
            d.id = c.attr("id");
            if (!d.id) {
                return false
            }
            if (!!c[0]._lrGirdSelect) {
                return c
            }
            c[0]._lrGirdSelect = {
                dfop: d
            };
            a.lrGirdSelect.init(c);
            return c
        };
        a.fn.lrGirdSelectGet = function() {
            var c = a(this);
            var d = c[0]._lrGirdSelect.dfop;
            d._itemValue = d._itemValue || {};
            var e = d._itemValue[d.value] || "";
            return e
        };
        a.fn.lrGirdSelectSet = function(f) {
            var c = a(this);
            var d = c[0]._lrGirdSelect.dfop;

            function e(g) {
                if (d._loaded) {
                    a.each(d._data, function(h, i) {
                        if (i[d.value] == g) {
                            if (!!d.select) {
                                d.select(i)
                            }
                            c.trigger("change");
                            c.addClass("selected");
                            c.find("span").text(i[d.text]);
                            d._itemValue = i;
                            return false
                        }
                    })
                } else {
                    setTimeout(function() {
                        e(g)
                    }, 100)
                }
            }
            e(f)
        }
    })(window.jQuery, top.learun);
    (function(a, b) {
        a.lrUploader = {
            init: function(c) {
                var d = c[0]._lrUploader.dfop;
                a.lrUploader.initRender(c, d)
            },
            initRender: function(e, h) {
                e.attr("type", "lr-Uploader").addClass("lrUploader-wrap");
                var g = a('<div class="lrUploader-input" ></div>');
                var c = a('<div class="lrUploader-btn-group"></div>');
                var f = a('<a id="lrUploader_uploadBtn_' + h.id + '" class="btn btn-success lrUploader-input-btn">上传</a>');
                var d = a('<a id="lrUploader_downBtn_' + h.id + '" class="btn btn-danger lrUploader-input-btn">下载</a>');
                e.append(g);
                c.append(f);
                c.append(d);
                e.append(c);
                f.on("click", a.lrUploader.openUploadForm);
                d.on("click", a.lrUploader.openDownForm)
            },
            openUploadForm: function() {
                var c = a(this);
                var d = c.parents(".lrUploader-wrap");
                var e = d[0]._lrUploader.dfop;
                b.layerForm({
                    id: e.id,
                    title: e.placeholder,
                    url: top.$.rootUrl + "/LR_SystemModule/Annexes/UploadForm?keyVaule=" + e.value + "&extensions=" + e.extensions,
                    width: 600,
                    height: 400,
                    maxmin: true,
                    btn: null,
                    end: function() {
                        b.httpAsyncGet(top.$.rootUrl + "/LR_SystemModule/Annexes/GetFileNames?folderId=" + e.value, function(f) {
                            if (f.code == b.httpCode.success) {
                                a("#" + e.id).find(".lrUploader-input").text(f.info)
                            }
                        })
                    }
                })
            },
            openDownForm: function() {
                var c = a(this);
                var d = c.parents(".lrUploader-wrap");
                var e = d[0]._lrUploader.dfop;
                b.layerForm({
                    id: e.id,
                    title: e.placeholder,
                    url: top.$.rootUrl + "/LR_SystemModule/Annexes/DownForm?keyVaule=" + e.value,
                    width: 600,
                    height: 400,
                    maxmin: true,
                    btn: null
                })
            }
        };
        a.fn.lrUploader = function(e) {
            var c = a(this);
            if (!!c[0]._lrUploader) {
                return c
            }
            var d = {
                placeholder: "上传附件",
                isUpload: true,
                isDown: true,
                extensions: ""
            };
            a.extend(d, e || {});
            d.id = c.attr("id");
            d.value = b.newGuid();
            c[0]._lrUploader = {
                dfop: d
            };
            a.lrUploader.init(c)
        };
        a.fn.lrUploaderSet = function(e) {
            var c = a(this);
            var d = c[0]._lrUploader.dfop;
            d.value = e;
            b.httpAsyncGet(top.$.rootUrl + "/LR_SystemModule/Annexes/GetFileNames?folderId=" + d.value, function(f) {
                if (f.code == b.httpCode.success) {
                    a("#" + d.id).find(".lrUploader-input").text(f.info)
                }
            })
        };
        a.fn.lrUploaderGet = function() {
            var c = a(this);
            var d = c[0]._lrUploader.dfop;
            return d.value
        }
    })(jQuery, top.learun);
    var pluginList = [{
        id: "0",
        text: "框架自带",
        value: "no",
        hasChildren: true,
        isexpand: true,
        complete: true,
        ChildNodes: [{
            id: "learuntree",
            text: "树形插件",
            value: "learuntree",
            isexpand: false,
            complete: true
        }, {
            id: "learunselect",
            text: "选择框",
            value: "learunselect",
            isexpand: false,
            complete: true
        }, {
            id: "learunuserselect",
            text: "人员选择框",
            value: "learunuserselect",
            isexpand: false,
            complete: true
        }]
    }, {
        id: "1",
        text: "第三方集成",
        value: "no",
        hasChildren: true,
        isexpand: true,
        complete: true,
        ChildNodes: [{
            id: "jfGrid",
            text: "表格(JFGrid)",
            value: "jfGrid",
            isexpand: false,
            complete: true
        }, {
            id: "webUploader",
            text: "上传文件(WebUploader)",
            value: "webUploader",
            isexpand: false,
            complete: true
        }]
    }];
    var bootstrap = function(a, c) {
        var d = {
            init: function() {
                d.bind();
                d.initLeftTree()
            },
            bind: function() {
                a(".lr-tab-scroll-content").mCustomScrollbar({
                    theme: "minimal-dark"
                })
            },
            initLeftTree: function() {
                a("#plugin_list").lrtree({
                    data: pluginList,
                    nodeClick: function(g) {
                        switch (g.value) {
                            case "learuntree":
                                a("#title_info").text(g.text);
                                a("#learun_tree_area").parent().find(".showarea-list-item.active").removeClass("active");
                                a("#learun_tree_area").addClass("active");
                                e.treeinit();
                                break;
                            case "learunselect":
                                a("#title_info").text(g.text);
                                a("#learun_select_area").parent().find(".showarea-list-item.active").removeClass("active");
                                a("#learun_select_area").addClass("active");
                                e.selectinit();
                                break;
                            case "learunuserselect":
                                a("#title_info").text(g.text);
                                a("#learun_selectuser_area").parent().find(".showarea-list-item.active").removeClass("active");
                                a("#learun_selectuser_area").addClass("active");
                                e.selectUserinit();
                                break;
                            case "jfGrid":
                                a("#title_info").text(g.text);
                                a("#jfgrid_area").parent().find(".showarea-list-item.active").removeClass("active");
                                a("#jfgrid_area").addClass("active");
                                e.jfgridinit();
                                break;
                            case "webUploader":
                                a("#title_info").text(g.text);
                                a("#uploader_area").parent().find(".showarea-list-item.active").removeClass("active");
                                a("#uploader_area").addClass("active");
                                e.uploaderInit();
                                break
                        }
                    }
                })
            }
        };
        var f = {
            base: function() {
                a("#tree_show_base").lrtree({
                    data: [{
                        id: "0",
                        text: "父节点",
                        value: "no",
                        hasChildren: true,
                        isexpand: true,
                        complete: true,
                        ChildNodes: [{
                            id: "1",
                            text: "子节点一",
                            value: "learuntree",
                            hasChildren: true,
                            isexpand: true,
                            complete: true,
                            ChildNodes: [{
                                id: "2",
                                text: "子节点二",
                                value: "learuntree",
                                complete: true
                            }]
                        }]
                    }]
                })
            },
            ajax: function() {
                a("#tree_show_ajax").lrtree({
                    url: top.$.rootUrl + "${request.contextPath}/LR_SystemModule/DataItem/GetClassifyTree.html"
                })
            },
            checkbox: function() {
                a("#tree_show_checkbox").lrtree({
                    data: [{
                        id: "0",
                        text: "父节点",
                        value: "no",
                        showcheck: true,
                        hasChildren: true,
                        isexpand: true,
                        complete: true,
                        ChildNodes: [{
                            id: "1",
                            text: "子节点一",
                            value: "learuntree",
                            hasChildren: true,
                            isexpand: true,
                            complete: true,
                            ChildNodes: [{
                                id: "2",
                                text: "子节点二",
                                value: "learuntree",
                                showcheck: true,
                                complete: true
                            }, {
                                id: "3",
                                text: "子节点三",
                                value: "learuntree",
                                showcheck: true,
                                complete: true
                            }, {
                                id: "4",
                                text: "子节点四",
                                value: "learuntree",
                                showcheck: true,
                                complete: true
                            }]
                        }, {
                            id: "11",
                            text: "子节点一一",
                            value: "learuntree",
                            showcheck: true,
                            hasChildren: true,
                            isexpand: true,
                            complete: true,
                            ChildNodes: [{
                                id: "12",
                                text: "子节点一二",
                                value: "learuntree",
                                showcheck: true,
                                complete: true
                            }]
                        }]
                    }]
                })
            }
        };
        var b = function() {
            a("#learun_jfgrid").jfGrid({
                isPage: true,
                isMultiselect: true,
                isSubGrid: true,
                subGridRowExpanded: function() {},
                rowdatas: [{
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }, {
                    A: "ra1",
                    B1: "rb11",
                    B21: "rb211",
                    B22: "rb221",
                    C: "rc1",
                    D1: "rd11",
                    D2: "rd21",
                    E: 1
                }],
                headData: [{
                    label: "A",
                    name: "A",
                    width: 80,
                    align: "left",
                    frozen: true
                }, {
                    label: "B",
                    name: "B",
                    width: 80,
                    align: "center",
                    frozen: true,
                    children: [{
                        label: "B1",
                        name: "B1",
                        width: 80,
                        align: "center"
                    }, {
                        label: "B2",
                        name: "B2",
                        width: 80,
                        align: "center",
                        children: [{
                            label: "B21",
                            name: "B21",
                            width: 80,
                            align: "center"
                        }, {
                            label: "B21",
                            name: "B22",
                            width: 80,
                            align: "center"
                        }]
                    }]
                }, {
                    label: "C",
                    name: "C",
                    width: 80,
                    align: "right"
                }, {
                    label: "D",
                    name: "D",
                    width: 80,
                    align: "center",
                    children: [{
                        label: "D1",
                        name: "D1",
                        width: 80,
                        align: "center"
                    }, {
                        label: "D2",
                        name: "D2",
                        width: 80,
                        align: "center"
                    }]
                }, {
                    label: "E",
                    name: "E",
                    width: 300,
                    align: "left",
                    formatter: function(g) {
                        return g == 1 ? '<i class="fa fa-toggle-on"></i>' : '<i class="fa fa-toggle-off"></i>'
                    }
                }]
            })
        };
        var e = {
            treeinit: function() {
                f.base();
                f.ajax();
                f.checkbox()
            },
            selectinit: function() {
                var g = {
                    type: "tree",
                    maxHeight: 200,
                    allowSearch: true,
                    url: top.$.rootUrl + "${request.contextPath}/LR_OrganizationModule/Company/GetTree.html",
                    param: {
                        parentId: "0"
                    },
                };
                //alert(writeObj(g));

                //打印对象
                function writeObj(obj){
                    var description = "";
                    for(var i in obj){
                        var property=obj[i];
                        description+=i+" = "+property+"\n";
                    }
                    alert(description);
                }
                a("#select1").lrselect(g);
                var h = {
                    value: "F_AreaCode",
                    text: "F_AreaName",
                    title: "F_AreaName",
                    maxHeight: 200,
                    allowSearch: true,
                    url: top.$.rootUrl + "/LR_SystemModule/Area/Getlist",
                    param: {
                        parentId: ""
                    },
                };
                a("#select2").lrselect(h);
                a("#select4").lrselect({
                    value: "F_AreaCode",
                    text: "F_AreaName",
                    title: "F_AreaName",
                    type: "multiple",
                    maxHeight: 200,
                    allowSearch: true,
                    url: top.$.rootUrl + "/LR_SystemModule/Area/Getlist",
                    param: {
                        parentId: ""
                    },
                });
                a("#select5").lrGirdSelect({
                    url: top.$.rootUrl + "/LR_SystemModule/DataItem/GetDetailList",
                    param: {
                        itemCode: "Client_ProductInfo"
                    },
                    selectWord: "F_ItemName",
                    value: "F_ItemValue",
                    text: "F_ItemName",
                    headData: [{
                        label: "商品编号",
                        name: "F_ItemValue",
                        width: 100,
                        align: "left"
                    }, {
                        label: "商品名称",
                        name: "F_ItemName",
                        width: 450,
                        align: "left"
                    }],
                    select: function(i) {
                        console.log(i)
                    }
                });
                a("#select3").lrselect({
                    type: "treemultiple",
                    allowSearch: true,
                    select: function(i) {},
                    data: [{
                        id: "0",
                        text: "父节点",
                        value: "no",
                        showcheck: true,
                        hasChildren: true,
                        isexpand: true,
                        complete: true,
                        ChildNodes: [{
                            id: "1",
                            text: "子节点一",
                            value: "learuntree",
                            hasChildren: true,
                            isexpand: true,
                            complete: true,
                            ChildNodes: [{
                                id: "2",
                                text: "子节点二",
                                value: "learuntree",
                                showcheck: true,
                                complete: true
                            }, {
                                id: "3",
                                text: "子节点三",
                                value: "learuntree",
                                showcheck: true,
                                complete: true
                            }, {
                                id: "4",
                                text: "子节点四",
                                value: "learuntree",
                                showcheck: true,
                                complete: true
                            }]
                        }, {
                            id: "11",
                            text: "子节点一一",
                            value: "learuntree",
                            showcheck: true,
                            hasChildren: true,
                            isexpand: true,
                            complete: true,
                            ChildNodes: [{
                                id: "12",
                                text: "子节点一二",
                                value: "learuntree",
                                showcheck: true,
                                complete: true
                            }]
                        }]
                    }]
                })
            },
            selectUserinit: function() {
                a("#selectuser1").lrformselect({
                    layerUrl: top.$.rootUrl + "/LR_OrganizationModule/User/SelectForm",
                    layerUrlW: 800,
                    layerUrlH: 520,
                    dataUrl: ""
                })
            },
            jfgridinit: function() {
                b()
            },
            uploaderInit: function() {
                a("#learun_uploader").lrUploader()
            }
        };
        d.init()
    };
</script>
<script>
    $.lrToken = $('<input name="__RequestVerificationToken" type="hidden" value="0IfyHeBRrYuit3A9VxRgyLy3d-ZzfHoPTh6BIpD8_cFv4t5g7-6BvYyyPaN7f6sWMoByBOtLEN8WNe9xfx3SgCKxrdTgAeRuzBn9SgGNI301" />').val();
    $(function() {
        $('#lr_layout').lrLayout();
        if (!!window.bootstrap) {
            bootstrap(jQuery, top.learun);
        }
    });
</script>
</body>

</html>
